# Copyright (c) 2009-2010, Sean A.O. Harney <sharney3@gmail.com>
bin_PROGRAMS = omf
# .y must be before .l apparently
omf_SOURCES =	omf_parse.y \
		omf_tok.l \
		parse.c \
		parse.h \
		main.c \
		omf.h \
		random.c \
		random.h \
		regldg.c \
		regldg.h \
		dictfile.c \
		dictfile.h \
		command.c \
		command.h \
		dl.c \
		dl.h \
		outputlog.c \
		outputlog.h \
		debug.c \
		debug.h \
		llist.c \
		llist.h \
		atexit.c \
		atexit.h \
		zipdir.c \
		zipdir.h \
		socket.c \
		socket.h \
		asl.c \
		asl.h \
		asl_process.c \
		asl_process.h \
		stmt.c \
		stmt.h \
		stmt_process.c \
		stmt_process.h \
		util.c \
		util.h \
		../contrib/b64.c \
		../contrib/timeval_subtract.c
	
omf_LDADD = -lm -lcrypto -lffi -lzip
omf_CFLAGS = -g -Wall -Werror -fno-strict-aliasing
#command.c:49: warning: dereferencing type-punned pointer will break strict-aliasing rules

omf_YFLAGS = -d -v

NODIST_SUBDIRS = contrib # dont tar up the symlink
EXTRA_DIST = TODO
#DISTCLEANFILES =
#CLEANFILES =
